/**************************************************************************
 * @doc Comm
 * @module syncdial.h 
 * Synchronous dialing task
 *
 * Product     :   
 * <nl>Developer   :   
 * <nl>Notes       :
 *
 * @head3 Comm Functions |
 * @index | Comm
 * @end
 *
 * Copyright (c) 1996-2000 by VeriFone Inc. All rights reserved.
 * 
 * No part of this software may be used, stored, compiled, reproduced,
 * modified, transcribed, translated, transmitted, or transferred, in any form 
 * or by any means whether electronic, mechanical, magnetic, optical, 
 * or otherwise, without the express prior written permission of VeriFone, Inc.
 *
 * Revision History
 * ------------------------------------------------------------------------
$Log:
 * ------------------------------------------------------------------------
 ********************************************************************************/
 
#include "Define.h"
#include "Mdmdefs.h"

int inDial (int *h_modem, SYNC_DIAL_OBJECT *pobSyncTask);
int inConnect (int *h_modem, int h_pipe, int Baud, VS_BOOL fSync);
int inSPOpenModem (int *h_modem, int Baud, int Format);
int inSPInitModem (int h_modem, VS_BOOL fSync);
#ifdef DTR_DIAL
void vdFormatPhoneNumber (char *PABX, char *PhoneNum, VS_BOOL fDialType, VS_BOOL fSync, char *Fmt_Phone);
#else
void vdFormatPhoneNumber (char *PABX, char *PhoneNum, VS_BOOL fDialType, char *Fmt_Phone);
#endif
int inCheckline (int h_modem);
void Hangup (int h_modem);
int inCloseModem (int h_modem);
int inGetMdmResponse (int h_modem, int TimeOut);
void SetSerialLines (int h_modem, char ucData);
int inSendMdmCmd (int h_modem, char *cmd_buff);
int inGetModem (int h_modem, int inLocalTaskId);


